<script>
import {mapMutations } from "vuex";
export default {
  methods:{
	  ...mapMutations(["SET_MEMBER"]),
	  ...mapMutations(["SET_OPENID"]),
	  setUserInfo(){
		  let userInfo = uni.getStorageSync("userInfo")
		  this.SET_MEMBER(userInfo);
		  let openId = uni.getStorageSync("tokenKey")
		    this.SET_OPENID(openId);
	  }
  },
  onLaunch: function () {
	this.setUserInfo()
  },
  onShow: function () {
  },
  onHide: function () {
  },
};
</script>

<style lang="scss">
/*每个页面公共css */
@import "~@/components/colorui/main.css";
@import "~@/components/colorui/icon.css";
@import "~@/static/style/app.scss";

</style>
